package dm.com.dmexamples;

import android.app.Application;

import com.orhanobut.logger.AndroidLogAdapter;
import com.orhanobut.logger.Logger;

/**
 * Created by Damon on 2017/11/14.
 */

public class App extends Application {
    private static App _context;

    @Override
    public void onCreate() {
        super.onCreate();
        _context = this;
        Logger.addLogAdapter(new AndroidLogAdapter());
    }

    public static App getInstance() {
        return _context;
    }
}
